package com.caixin.domain.user.repository;


import com.caixin.domain.common.BaseRepository;
import com.caixin.domain.user.agg.User;
import com.caixin.domain.user.types.unique.UserId;

/**
 * @description: 用户Repo
 * @author: caixin
 * @date: 2021/11/17 21:30
 * @param: null
 * @return:
 */
public interface UserRepo extends BaseRepository<User, UserId> {


    /**
     *根据用户名查询
     * @date 2021/11/19 10:31
     * @param userName
     * @return com.domain.user.agg.User
     */
    User findUserByName(String userName);
}
